package com.log4j2;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

/**
 * @author 航
 * @date 2024/06/09 23:00
 **/
public class Log4j2Test2 {

    private static final Logger logger = LogManager.getLogger(Log4j2Test2.class);

    public static void main(String[] args) {
        logger.info("info test");
        logger.debug("debug test");
        logger.trace("trace test");
        logger.warn("warn test");
        logger.error("error test");
        logger.fatal("fatal test");
    }
}
